<!--#include file="../Inc/conn.asp"-->
<%
If LaoYID>0 then
Response.Redirect ""&SitePath&""
End if
If useroff=0 then Call Alert("网站目前已经关闭会员功能","../")
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员注册-<%=SiteTitle%></title>
<meta name="keywords" content="<%=Sitekeywords%>" />
<meta name="description" content="<%=SiteTitle%>用户注册" />
<link href="<%=SitePath%>images/css<%=Css%>.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="<%=SitePath%>js/main.asp"></script>
<script src="<%=SitePath%>js/Ajax.js" language="javascript"></script>
</head>
<body>
<div class="mwall">
<%=Head%>
<%=Menu%><div class="mw">
	<div class="dh">
		<%=search%>您现在的位置：<a href="<%=SitePath%>Index.asp">首页</a> >> 会员注册
    </div>
	<div id="nw_left">
		<div id="web2l">
        	<h6>会员注册</h6>
			<div id="content">
			  <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="30"><b>注：</b>带<font color="#FF0000">*</font>为必须填</td>
                </tr>
              </table>
              <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:176px;">
                <form action="RegPost.asp" method="post" name="UserReg" id="UserReg" onSubmit="return user_from();" >
                  <tr>
                    <td width="30%" height="30">用户名：</td>
                    <td><input name="UserName"  class="borderall" value="" size="18" maxlength="15" style="width:140px;" onBlur="CheckName();" onChange="CheckName();" />
                        <font color="#FF0000">*</font></td>
                  </tr>
                  <tr>
                    <td height="30">&nbsp;</td>
                    <td><span id="enter_name">允许中文名</span></td>
                  </tr>
                  <tr>
                    <td height="30">密码(至少6位)：<br /><span id="enter_pwd"></span>                    </td>
                    <td><input name="UserPassword" type="password"  class="borderall" size="18" maxlength="12" style="width:140px;"/>
                        <font color="#FF0000">*</font></td>
                  </tr>
                  <tr>
                    <td height="30">确认密码(至少6位)：<br /><span id="enter_repwd"></span></td>
                    <td><input name="PwdConfirm" type="password"  class="borderall" size="18" maxlength="12" style="width:140px;" />
                        <font color="#FF0000">*</font></td>
                  </tr>
                  <tr>
                    <td height="30">性别：</td>
                    <td><input name="UserSex" type="radio" value="1" checked="checked" />
                      男
                      <input name="UserSex" type="radio" value="0" />
                      女</td>
                  </tr>
                  <tr>
                    <td height="30" class="td">出生日期：</td>
                    <td height="30" class="td"><select size="1" name="year" maxlength="4">
                        <option value="">请选择</option>
                        <script language="JavaScript" type="text/javascript">writeOption(1940,<%=year(Now)-8%>);</script>
                      </select>
                      年
                      <select size="1" name="month" maxlength="2">
                        <option value="">请选择</option>
                        <script language="JavaScript" type="text/javascript">writeOption(1,12);</script>
                      </select>
                      月
                      <select size="1" name="day" maxlength="2">
                        <option value="">请选择</option>
                        <script language="JavaScript" type="text/javascript">writeOption(1,31);</script>
                      </select>
                      日　<font color="#FF0000">*</font></td>
                  </tr>
                  <tr>
                    <td height="30">Email地址：</td>
                    <td><input name="UserEmail"  class="borderall" size="25" maxlength="50"  onchange="UserEmail_enter();" onKeyUp="UserEmail_enter();" onBlur="UserEmail_enter();" />
                        <font color="#FF0000">*</font>　<span id="enter_mail"></span></td>
                  </tr>
                  <tr>
                    <td height="30">籍贯(省/市)：</td>
                    <td colspan="2"><select onChange="setcity();" name='province'>
                        <option value=''>请选择省份</option>
                        <option value="广东">广东</option>
                        <option value="北京">北京</option>
                        <option value="重庆">重庆</option>
                        <option value="福建">福建</option>
                        <option value="甘肃">甘肃</option>
                        <option value="广西">广西</option>
                        <option value="贵州">贵州</option>
                        <option value="海南">海南</option>
                        <option value="河北">河北</option>
                        <option value="黑龙江">黑龙江</option>
                        <option value="河南">河南</option>
                        <option value="香港">香港</option>
                        <option value="湖北">湖北</option>
                        <option value="湖南">湖南</option>
                        <option value="江苏">江苏</option>
                        <option value="江西">江西</option>
                        <option value="吉林">吉林</option>
                        <option value="辽宁">辽宁</option>
                        <option value="澳门">澳门</option>
                        <option value="内蒙古">内蒙古</option>
                        <option value="宁夏">宁夏</option>
                        <option value="青海">青海</option>
                        <option value="山东">山东</option>
                        <option value="上海">上海</option>
                        <option value="山西">山西</option>
                        <option value="陕西">陕西</option>
                        <option value="四川">四川</option>
                        <option value="安徽">安徽</option>
                        <option value="台湾">台湾</option>
                        <option value="天津">天津</option>
                        <option value="新疆">新疆</option>
                        <option value="西藏">西藏</option>
                        <option value="云南">云南</option>
                        <option value="浙江">浙江</option>
                        <option value="海外">海外</option>
                      </select>
                        <select name='city'  style="width:90px;">
                        </select>
                        <script src="<%=SitePath%>js/getcity.js"></script>
                        <script>initprovcity('','');</script></td>
                  </tr>
                  <!--<tr>
                    <td height="30">QQ号码：</td>
                    <td><input name="UserQQ"  class="borderall" size="25" maxlength="10"  onchange="UserQQ_enter();" onKeyUp="UserQQ_enter();" onBlur="UserQQ_enter();" />
                        <font color="#FF0000">*</font>　<span id="enter_qq"></span></td>
                  </tr>-->
                  <tr align="middle">
                    <td colspan="2" height="30"><script src="<%=SitePath%>inc/ValidateClass.asp?act=showvalidatelaoy" type="text/javascript"></script><input id="Action" type="hidden" value="SaveReg1" name="Action" />
                        <input name="Submit2" type="submit"  class="borderall" value=" 注册 " />
                        <input name="Reset" type="reset"  class="borderall" id="Reset" value=" 重新填写 " />                    </td>
                  </tr>
                </form>
              </table>
		  </div>
		</div>
	</div>
	<div id="nw_right">
		<%Echo ShowAD(3)%>
        <div id="web2r">
			<h5>最新文章</h5>
			<ul id="list10">
            	<%Call ShowArticle(0,10,5,"·",100,"no","DateAndTime desc,ID desc",0,1,0)%>
            </ul>
  		</div>
	</div>
</div>
<%=Copy%>
</div>
</body>
</html>